<template>
  <div>
    <h4><span style="color:#fc8e2d">延期信息</span></h4>
    <el-form :model="ct" ref="ct" label-width="140px" class="queryForm">
      <el-row>
        <el-col :span="24">
          <el-form-item label="延期时间：">
            {{ct.renewalTime? ct.renewalTime.substring(0, 10):''}}
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="24">
          <el-form-item label="新有效期起止：">
            {{ct.validityStartTime? ct.validityStartTime.substring(0, 10):''}}  至 {{ct.validityEndTime? ct.validityEndTime.substring(0, 10):''}} 
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="24">
          <el-form-item label="备注信息：">
            {{ct.remark}}
          </el-form-item>
        </el-col>
      </el-row>
      <el-row v-if="ct.contractInfoList && ct.contractInfoList.length > 0">
        <el-col :span="24">
          <el-form-item label="证书证明扫描件：">
            <viewer :images="ct.contractInfoList">
              <img v-for="(src,index) in ct.contractInfoList" :src="src.path" :key="index" style="width: 30px;height: 30px;margin-right:10px;"/>
            </viewer>
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>

<script>
  export default {
    props: {
      ct: {
        type: Object
      }
    },
    data () {
      return {
      }
    },
    created () {
    },
    components: {
    },
    methods: {
      
    }
  }
</script>

<style lang="scss">
  .queryForm .el-form-item {
      margin-bottom: 0px;
  }
</style>